package cn.z2huo.knowledge.basic.operator;

/**
 * <p> -= 运算符和 -、+ 等运算符的优先级
 *
 * @author z2huo
 */
class SumEqualDemo {

    public static void main(String[] args) {
        int a = 2;
        int b = 10;
        int c = 1021;
        int d = 1021;

        c -= b - a;
        System.out.println(c);
        d = d - (b - a);
        System.out.println(d);
    }
}
